package week02.text;

public class AuthenticatorTest {
    public static void main(String args[]){
        Authenticator authenticator=AuthenticatorFactory.createAuthenticator();
        if (authenticator!=null){
            authenticator.save("zhh","123456");
            System.out.print(authenticator.authenticate("zhh","123456"));
        }
    }
}
